package cn.fengzhilun.javase.day09.secend;

public abstract class Animal {

	public abstract void shout();
}

class Cat extends Animal{

	@Override
	public void shout() {
		System.out.println("maiomaio...");
	}
	
	
	
}
class Dog extends Animal{

	@Override
	public void shout() {
		System.out.println("wangwang...");
	}
	
}